package com.gviiii.baiduai.pojo;

import java.util.List;

public class ImageResultInfo {

    /**
     * log_id : 3626548129823305501
     * results : [{"location":{"height":464,"left":340,"top":319,"width":464},"name":"person","score":0.7023215293884277},{"location":{"height":617,"left":444,"top":273,"width":648},"name":"person","score":0.6417195200920105},{"location":{"height":659,"left":583,"top":88,"width":509},"name":"person","score":0.6309442520141602}]
     */

    private long log_id;
    private List<ResultsBean> results;

    public long getLog_id() {
        return log_id;
    }

    public List<ResultsBean> getResults() {
        return results;
    }

    public void setLog_id(long log_id) {
        this.log_id = log_id;
    }

    public void setResults(List<ResultsBean> results) {
        this.results = results;
    }

    public static class ResultsBean {
        /**
         * location : {"height":464,"left":340,"top":319,"width":464}
         * name : person
         * score : 0.7023215293884277
         */

        private LocationBean location;
        private String name;
        private double score;

        public LocationBean getLocation() {
            return location;
        }

        public String getName() {
            return name;
        }

        public double getScore() {
            return score;
        }

        public void setLocation(LocationBean location) {
            this.location = location;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setScore(double score) {
            this.score = score;
        }

        public static class LocationBean {
            /**
             * height : 464
             * left : 340
             * top : 319
             * width : 464
             */

            private int height;
            private int left;
            private int top;
            private int width;

            public int getHeight() {
                return height;
            }

            public int getLeft() {
                return left;
            }

            public int getTop() {
                return top;
            }

            public int getWidth() {
                return width;
            }

            public void setHeight(int height) {
                this.height = height;
            }

            public void setLeft(int left) {
                this.left = left;
            }

            public void setTop(int top) {
                this.top = top;
            }

            public void setWidth(int width) {
                this.width = width;
            }

            @Override
            public String toString() {
                return "LocationBean{" +
                        "height=" + height +
                        ", left=" + left +
                        ", top=" + top +
                        ", width=" + width +
                        '}';
            }
        }
    }
}
